package com.base.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.base.system.jpa.entity.JpaPermission;
import com.base.system.mybatisPlus.entity.MybatisPermission;

import java.util.List;

public interface PermissionService {
    List<JpaPermission> SaveBatch(List<JpaPermission> permissions);

    IPage<MybatisPermission> page(Page page, MybatisPermission permission);

    void save(MybatisPermission permission);

    void update(MybatisPermission permission);

    void delete(Long id);

    List<JpaPermission> all();
}
